<div class="layuimini-container">
    <div class="layuimini-main">
        <table id="currentTable" class="layui-table layui-hide"
               data-auth-detail="{:auth('mall.order/detail')}"
               data-auth-send="{:auth('mall.order/send')}"
               data-auth-confirm="{:auth('mall.order/confirmOrder')}"
               data-auth-refund="{:auth('mall.order/refund')}"
               data-auth-permit="{:auth('mall.order/premitRefund')}"
               lay-filter="currentTable">
        </table>
    </div>
</div>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>

    <!-- 这里同样支持 laytpl 语法，如： -->
    {{#  if(d.auth > 2){ }}
    <a class="layui-btn layui-btn-xs" lay-event="check">审核</a>
    {{#  } }}
</script>